libxl: support "spice" (remote display protocol) with upstream qemu
authorZhou Peng <zhoupeng@nfs.iscas.ac.cn>
Thu, 26 May 2011 13:33:52 +0000 (14:33 +0100)
committerZhou Peng <zhoupeng@nfs.iscas.ac.cn>
Thu, 26 May 2011 13:33:52 +0000 (14:33 +0100)
commitcafcc7e9455c493c1f0b849d50c4c2d33abaeb33
treeeb53a8b9b2cf77b7eb2d00ed37a8482e3e4ea946
parent093e1d2484fc46ec73e527c03af79664218045df
libxl: support "spice" (remote display protocol) with upstream qemu

This patch allows you to use spice for
xen-upstream-qemu on upstream Xen or released Xen-4.1.0.

Nothing need to be modified in xen-upstream-qemu,
because qemu has include spice's code as a new feature since qemu-0.14.

Usage:

Add spice fields in VM cfg file.  e.g.
    spice=1
    spiceport=6000
    spicehost='192.168.1.187'
    spicedisable_ticketing = 0 # default is 0
    spicepasswd = 'password'
    spiceagent_mouse = 1 # default is 1

Signed-off-by: Zhou Peng <zhoupeng@nfs.iscas.ac.cn>
Acked-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
tools/libxl/libxl.idl
tools/libxl/libxl_dm.c
tools/libxl/xl_cmdimpl.c